package com.cys.markdown.doc.admin.shiro;

import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 权限认证过滤器
 */
public class ExtAuthenticationFilter extends FormAuthenticationFilter {

    private Logger logger = LoggerFactory.getLogger(ExtAuthenticationFilter.class);

    public ExtAuthenticationFilter() {
//        this.setLoginUrl("/login/toIndex");//Web 就登录
        logger.info("method[ExtAuthenticationFilter] start");
        this.setLoginUrl("/login/toSessionTimeout");
        logger.info("method[ExtAuthenticationFilter] end");
    }

}
